#!/usr/bin/env python
#coding:utf-8
__author__ = 'carey'
__date__ = '2017/7/25 下午2:46'

import json
from extra_app.config.ssdb_cnf import Content


def get_key(key):

		'''
		从SSDB获取数据
		:param key: key
		:return:
		'''

		ssdb = Content()
		datas = ssdb.request('get', [key]).data
		ssdb.close()
		data = json.loads(datas)

		return data